const createUserBase = {
  name: { type: "string", required: true, description: "用户姓名" },
  password: { type: "string", required: true, description: "密码" },
};
const userinfo = {
  userId: { type: "string", required: true, description: "用户Id" },
};

module.exports = {
  userinfo,
  createUserRequest: createUserBase,
  showUserRequest: {
    ...createUserBase,
    id: { type: "string", required: true, description: "id" },
  },
  updateUserRequest: {
    ...createUserBase,
    id: { type: "string", required: true, description: "id" },
  },
};
